package com.leo.erp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("tb_depot_item")
public class DepotItem {
	@TableId(value = "depotItemId", type = IdType.AUTO)
	private int depotItemId;
	
	@TableField("headerId")
	private int headerId;//表头Id
	
	@TableField("materialId")
	private int materialId;//材料Id
	
	@TableField("materialExtendId")
	private int materialExtendId;//商品扩展id
	
	@TableField("mUnit")
	private String mUnit;//商品计量单位
	
	@TableField("operNumber")
	private double operNumber;//数量
	
	@TableField("basicNumber")
	private double basicNumber;//基础数量，如kg、瓶
	
	@TableField("unitPrice")
	private double unitPrice;//单价
	
	@TableField("taxUnitPrice")
	private double taxUnitPrice;//含税单价
	
	@TableField("allPrice")
	private double allPrice;//金额
	
	@TableField("remark")
	private String remark;//描述
	
	@TableField("img")
	private String img;//图片
	
	@TableField("incidentals")
	private double incidentals;//运杂费
	
	@TableField("depotId")
	private int depotId;//仓库ID（库存是统计出来的）
	
	@TableField("anotherDepotId")
	private int anotherDepotId;//调拨时，对方仓库Id
	
	@TableField("taxRate")
	private double taxRate;//税率
	
	@TableField("taxMoney")
	private double taxMoney;//税额
	
	@TableField("taxLastMoney")
	private double taxLastMoney;//价税合计
	
	@TableField("otherField1")
	private String otherField1;//自定义字段1-名称
	
	@TableField("otherField2")
	private String otherField2;//自定义字段2-型号
	
	@TableField("otherField3")
	private String otherField3;//自定义字段3-制造商
	
	@TableField("otherField4")
	private String otherField4;//自定义字段4
	
	@TableField("otherField5")
	private String otherField5;//自定义字段5
	
	@TableField("mType")
	private String mType;//商品类型
	
	@TableField("tenantId")
	private int tenantId;//租户id
	
	@TableField("deleteFlag")
	private String deleteFlag;//删除标记，0未删除，1删除

	public int getDepotItemId() {
		return depotItemId;
	}

	public void setDepotItemId(int depotItemId) {
		this.depotItemId = depotItemId;
	}

	public int getHeaderId() {
		return headerId;
	}

	public void setHeaderId(int headerId) {
		this.headerId = headerId;
	}

	public int getMaterialId() {
		return materialId;
	}

	public void setMaterialId(int materialId) {
		this.materialId = materialId;
	}

	public int getMaterialExtendId() {
		return materialExtendId;
	}

	public void setMaterialExtendId(int materialExtendId) {
		this.materialExtendId = materialExtendId;
	}

	public String getmUnit() {
		return mUnit;
	}

	public void setmUnit(String mUnit) {
		this.mUnit = mUnit == null ? null : mUnit.trim();
	}

	public double getOperNumber() {
		return operNumber;
	}

	public void setOperNumber(double operNumber) {
		this.operNumber = operNumber;
	}

	public double getBasicNumber() {
		return basicNumber;
	}

	public void setBasicNumber(double basicNumber) {
		this.basicNumber = basicNumber;
	}

	public double getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(double unitPrice) {
		this.unitPrice = unitPrice;
	}

	public double getTaxUnitPrice() {
		return taxUnitPrice;
	}

	public void setTaxUnitPrice(double taxUnitPrice) {
		this.taxUnitPrice = taxUnitPrice;
	}

	public double getAllPrice() {
		return allPrice;
	}

	public void setAllPrice(double allPrice) {
		this.allPrice = allPrice;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img == null ? null : img.trim();
	}

	public double getIncidentals() {
		return incidentals;
	}

	public void setIncidentals(double incidentals) {
		this.incidentals = incidentals;
	}

	public int getDepotId() {
		return depotId;
	}

	public void setDepotId(int depotId) {
		this.depotId = depotId;
	}

	public int getAnotherDepotId() {
		return anotherDepotId;
	}

	public void setAnotherDepotId(int anotherDepotId) {
		this.anotherDepotId = anotherDepotId;
	}

	public double getTaxRate() {
		return taxRate;
	}

	public void setTaxRate(double taxRate) {
		this.taxRate = taxRate;
	}

	public double getTaxMoney() {
		return taxMoney;
	}

	public void setTaxMoney(double taxMoney) {
		this.taxMoney = taxMoney;
	}

	public double getTaxLastMoney() {
		return taxLastMoney;
	}

	public void setTaxLastMoney(double taxLastMoney) {
		this.taxLastMoney = taxLastMoney;
	}

	public String getOtherField1() {
		return otherField1;
	}

	public void setOtherField1(String otherField1) {
		this.otherField1 = otherField1 == null ? null : otherField1.trim();
	}

	public String getOtherField2() {
		return otherField2;
	}

	public void setOtherField2(String otherField2) {
		this.otherField2 = otherField2 == null ? null : otherField2.trim();
	}

	public String getOtherField3() {
		return otherField3;
	}

	public void setOtherField3(String otherField3) {
		this.otherField3 = otherField3 == null ? null : otherField3.trim();
	}

	public String getOtherField4() {
		return otherField4;
	}

	public void setOtherField4(String otherField4) {
		this.otherField4 = otherField4 == null ? null : otherField4.trim();
	}

	public String getOtherField5() {
		return otherField5;
	}

	public void setOtherField5(String otherField5) {
		this.otherField5 = otherField5 == null ? null : otherField5.trim();
	}

	public String getmType() {
		return mType;
	}

	public void setmType(String mType) {
		this.mType = mType == null ? null : mType.trim();
	}

	public int getTenantId() {
		return tenantId;
	}

	public void setTenantId(int tenantId) {
		this.tenantId = tenantId;
	}

	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
	}
	
	
}
